﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;

namespace CPPEI.Coolzon.Common
{
    class EventEntry
    {
        public WeakReference Receiver { get; private set; }
        public Type ReceiverType { get; set; }
        public MethodInfo CallMethod { get; set; }

        public EventEntry(object receiver, Type receiverType, MethodInfo callMethod)
        {
            Receiver = new WeakReference(receiver);
            ReceiverType = receiverType;
            CallMethod = callMethod;
        }
    }
}
